package com.ouheng.shop.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.ouheng.system.domain.UserDO;



/**
 * 订单
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-14 15:02:55
 */
public class OhOrderDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//订单号
	private String number;
	//订单状态（1：待付款  2：待发货  3：配送中  4：待评价 5：取消订单 6：已完成 7：申请退款 8：已退款）
	private String status;
	//金额
	private BigDecimal money;
	//用户id
	private Long memberid;
	//收货人
	private String consignee;
	//收货地址
	private String address;
	//电话
	private String phone;
	//描述
	private String remark;
	//创建时间
	private Date createdate;
	//修改时间
	private Date modifydate;
	//失效时间
	private Date failuredate;
	//删除标记
	private String state;
	//运费金额
	private BigDecimal freight;
	//实付金额
	private BigDecimal paymoney;
	//抵用卷金额
	private BigDecimal shoppingmoney;
	//抵用卷id
	private Long shoppingmoneyid;
	//物流中文名称
	private String logisticsname;
	//物流英文名称
	private String logisticsename;
	//物流编号
	private String logisticsnumber;
	//
	private String paynum;
	//折扣价格
	private BigDecimal discount;
	//
	private BigDecimal redenvelope;
	
	private String productNameAndNumber;
	
	//支付时间
	private Date paydate;
		
	//取消时间
	private Date canceldate;
	
	//完成时间
	private Date completedate;
	
	//删除时间
	private Date deletedate;
	
	//申请退款时间
	private Date applyrefunddate;
	
	//退款时间
	private Date refunddate;
	
	private UserDO user;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：订单号
	 */
	public void setNumber(String number) {
		this.number = number;
	}
	/**
	 * 获取：订单号
	 */
	public String getNumber() {
		return number;
	}
	/**
	 * 设置：订单状态（1：待付款  2：待发货  3：配送中  4：待评价 5：取消订单 6：已完成 7：申请退款 8：已退款）
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：订单状态（1：待付款  2：待发货  3：配送中  4：待评价 5：取消订单 6：已完成 7：申请退款 8：已退款）
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：金额
	 */
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	/**
	 * 获取：金额
	 */
	public BigDecimal getMoney() {
		return money;
	}
	/**
	 * 设置：用户id
	 */
	public void setMemberid(Long memberid) {
		this.memberid = memberid;
	}
	/**
	 * 获取：用户id
	 */
	public Long getMemberid() {
		return memberid;
	}
	/**
	 * 设置：收货人
	 */
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	/**
	 * 获取：收货人
	 */
	public String getConsignee() {
		return consignee;
	}
	/**
	 * 设置：收货地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：收货地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：电话
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * 获取：电话
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * 设置：描述
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：描述
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatedate() {
		return createdate;
	}
	/**
	 * 设置：修改时间
	 */
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getModifydate() {
		return modifydate;
	}
	/**
	 * 设置：失效时间
	 */
	public void setFailuredate(Date failuredate) {
		this.failuredate = failuredate;
	}
	/**
	 * 获取：失效时间
	 */
	public Date getFailuredate() {
		return failuredate;
	}
	/**
	 * 设置：删除标记
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：删除标记
	 */
	public String getState() {
		return state;
	}
	/**
	 * 设置：运费金额
	 */
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	/**
	 * 获取：运费金额
	 */
	public BigDecimal getFreight() {
		return freight;
	}
	/**
	 * 设置：实付金额
	 */
	public void setPaymoney(BigDecimal paymoney) {
		this.paymoney = paymoney;
	}
	/**
	 * 获取：实付金额
	 */
	public BigDecimal getPaymoney() {
		return paymoney;
	}
	/**
	 * 设置：抵用卷金额
	 */
	public void setShoppingmoney(BigDecimal shoppingmoney) {
		this.shoppingmoney = shoppingmoney;
	}
	/**
	 * 获取：抵用卷金额
	 */
	public BigDecimal getShoppingmoney() {
		return shoppingmoney;
	}
	/**
	 * 设置：抵用卷id
	 */
	public void setShoppingmoneyid(Long shoppingmoneyid) {
		this.shoppingmoneyid = shoppingmoneyid;
	}
	/**
	 * 获取：抵用卷id
	 */
	public Long getShoppingmoneyid() {
		return shoppingmoneyid;
	}
	/**
	 * 设置：物流中文名称
	 */
	public void setLogisticsname(String logisticsname) {
		this.logisticsname = logisticsname;
	}
	/**
	 * 获取：物流中文名称
	 */
	public String getLogisticsname() {
		return logisticsname;
	}
	/**
	 * 设置：物流英文名称
	 */
	public void setLogisticsename(String logisticsename) {
		this.logisticsename = logisticsename;
	}
	/**
	 * 获取：物流英文名称
	 */
	public String getLogisticsename() {
		return logisticsename;
	}
	/**
	 * 设置：物流编号
	 */
	public void setLogisticsnumber(String logisticsnumber) {
		this.logisticsnumber = logisticsnumber;
	}
	/**
	 * 获取：物流编号
	 */
	public String getLogisticsnumber() {
		return logisticsnumber;
	}
	/**
	 * 设置：
	 */
	public void setPaynum(String paynum) {
		this.paynum = paynum;
	}
	/**
	 * 获取：
	 */
	public String getPaynum() {
		return paynum;
	}
	/**
	 * 设置：折扣价格
	 */
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	/**
	 * 获取：折扣价格
	 */
	public BigDecimal getDiscount() {
		return discount;
	}
	/**
	 * 设置：
	 */
	public void setRedenvelope(BigDecimal redenvelope) {
		this.redenvelope = redenvelope;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getRedenvelope() {
		return redenvelope;
	}
	public String getProductNameAndNumber() {
		return productNameAndNumber;
	}
	public void setProductNameAndNumber(String productNameAndNumber) {
		this.productNameAndNumber = productNameAndNumber;
	}
	public Date getCanceldate() {
		return canceldate;
	}
	public void setCanceldate(Date canceldate) {
		this.canceldate = canceldate;
	}
	public Date getCompletedate() {
		return completedate;
	}
	public void setCompletedate(Date completedate) {
		this.completedate = completedate;
	}
	public Date getDeletedate() {
		return deletedate;
	}
	public void setDeletedate(Date deletedate) {
		this.deletedate = deletedate;
	}
	public Date getApplyrefunddate() {
		return applyrefunddate;
	}
	public void setApplyrefunddate(Date applyrefunddate) {
		this.applyrefunddate = applyrefunddate;
	}
	public Date getRefunddate() {
		return refunddate;
	}
	public void setRefunddate(Date refunddate) {
		this.refunddate = refunddate;
	}
	public Date getPaydate() {
		return paydate;
	}
	public void setPaydate(Date paydate) {
		this.paydate = paydate;
	}
	public UserDO getUser() {
		return user;
	}
	public void setUser(UserDO user) {
		this.user = user;
	}
	
	
}
